@import "wp-base-styles";

@keyframes automatewoo-placeholder-fade {

	0% {
		opacity: 0.7;
	}

	50% {
		opacity: 1;
	}

	100% {
		opacity: 0.7;
	}
}

// Adds animation to placeholder section, copied from WC Admin
@mixin placeholder() {
	animation: automatewoo-placeholder-fade 1.6s ease-in-out infinite;
	background-color: $gray-100;
	color: transparent;

	&::after {
		content: "\00a0";
	}

	@media screen and (prefers-reduced-motion: reduce) {
		animation: none;
	}
}
